return 
{
    on_befor_enter = function()
        local game = require "club.threecard.texas"
        if not game.game_scene.loaded then
            game.store.ingame.throttle(true)
        end
    end,

    on_enter = function()
        local game = require "club.threecard.texas"
        local finished = false
        game.router.go("/club.threecard.texas/ingame", function()
            finished = true
        end)

        while not finished do
            game.coroutine.step()
        end
    end,

    on_exit = function()
        local game = require "club.threecard.texas"
        game.router.go("/club.threecard.texas/lobby");
    end
}